#include "RoboterRaupe.h"


void Timer2Init(void){
	ASSR |= ( (1<<EXCLK) | (1<<AS2) );
	TCCR2B |= ( (1<<CS22) | (0<<CS21) | (1<<CS20) ); //128
	while (ASSR & (1<<TCR2BUB));
	TIMSK2|= (1<<TOIE2);
}


ISR(TIMER2_OVF_vect) {
	Sekunden++;
}
